package com.financial.service.platbalancepay.dao;

import com.financial.service.platbalancepay.domain.AccountDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @auter miaozhenfei
 * @date 2019/7/31 8:38
 */
@Mapper
@Repository
public interface AccountDao {

    AccountDO get(String uuid);

    List<AccountDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(AccountDO account);

    int update(AccountDO account);

    int remove(String uuid);

    int batchRemove(String[] uuids);

}
